Multi-protocol memory card

ABSTRACT

According to some embodiments of the present invention, a multi-protocol non-volatile memory (“NVM”) card may include a NVM array, at least two protocol units, and a controller adapted to provide an external application access to the NVM array with the use of one of the protocol units. The controller or control logic may select which protocol unit to use based on a signal or other indicator of the protocol used by the external application. According to some embodiments of the present invention, a method of operating a multi-protocol memory card may include switching between a first and a second protocol or mode of the card based on a signal from an application attempting to access to the NVM card.

FIELD OF THE INVENTION

The present invention relates generally to non-volatile memory cards andmethods for operation thereof and, more particularly, to multi-modeoperation of non-volatile memory cards.

BACKGROUND OF THE INVENTION

The operation of mass media non-volatile memory (“NVM”) cards is wellknown. Various NVM mass storage devices able to handle large data filessuch as smart media cards, MultiMediaCards, memory sticks, and otherlike NVM mass storage devices and cards have been gaining marketacceptance over the past several years. Hereinbelow, the termMultiMediaCard (“MMC”), or the like, refers to any NVM mass storagedevice able to handle large data files regardless of the protocol used.To date, the above NVM cards have been used for consumer applicationssuch as digital cameras and portable music devices. Due to the absenceof an agreed upon security standard for the above mentioned NVM cardstandards, none have been approved by any industry (e.g. banking,telecom, etc.) for the storage of private data such as bank details ortelephone account information.

A category of NVM cards known as “smart-cards,” having generally smallercapacity than the above mentioned mass storage devices, which work withsecured application such as “smart card applications,” have been knownand adopted for commercial use by several industries including bankingand telecommunications. Hereinbelow, the term “smart-card applications”refers to all secured applications known which relate or conform to theinteroperability standard defined by the International StandardsOrganization (ISO) as the ISO 7816 standard for integrated circuit cardswith contacts, or with any other secure standard. The specifications ofthe ISO 7816 standard, and any other standards which may relate thereto,focus on interoperability of secured applications over the physical,electrical, and data-link protocol levels.

There is a broad base of smart-card applications already on the market,and the need for secured applications in general is growing. Banks andcredit institutions, for example, have defined an industry-specificsmart card specification. This specification adopted the ISO 7816standards and defined some additional data types and encoding rules foruse by the financial services industry. This industry standard is calledthe EMV (uropay-MasterCard-Visa) standard. The ISO 7816 standard hasalso been adopted by the telecommunication industry, for use with theglobal system for mobile communications (GSM), to enable identificationand authentication of mobile telephone users.

Due to the ISO 7816 standards, as well as the specifications that haveadopted it, smart card applications and other ISO 7816 compliantapplications currently operate only on an ISO 7816 communicationprotocol, for the most part using I/O, clock (CLK), and reset (RST)lines to store and retrieve data from a smart-card chip which us usuallyintegrated within a smart-card controller of a protocol unit.

SUMMARY OF THE INVENTION

According to some embodiments of the present invention, a multi-protocolnon-volatile memory (“NVM”) card may include a NVM array, at least twoprotocol units, and a controller adapted to provide an externalapplication access to the NVM array with the use of one of the protocolunits. The controller or control logic may select which protocol unit touse based on a signal or other indicator of the protocol used by theexternal application.

As part of the present invention, there may be a method of operating amulti-protocol NVM card. According to some embodiments of the presentinvention, a method of operating a multi-protocol memory card mayinclude switching between a first and a second protocol mode of the cardbased on a signal from an application attempting to access to the NVMcard.

According to a further embodiment of the present invention, there may bean interface and a method of operating the interface, where theinterface is between an external application substantially compliantwith the ISO 7816 standard and a multi-protocol memory card. Theinterface may include a first connector to the external application anda second connector to the multi-protocol memory card. An interfaceaccording to some embodiments of the present invention may also includea signaling structure to indicate to the multi-protocol memory card tooperate in a mode substantially compliant with the ISO 7816 standard.

BRIEF DESCRIPTION OF THE DRAWINGS

Aspects of the present invention may best be understood by reference tothe following detailed description when read with the accompanyingdrawings, in which:

FIG. 1 is a block diagram illustration of a multi-protocol memory card,operative in accordance with some embodiments of the present invention;

FIG. 2 is a block diagram illustration of some embodiments of themulti-protocol memory card of FIG. 1, where the card is adapted tooperate in either an ISO 7816 protocol mode or in an MMC protocol mode;

FIG. 3 is a more detailed block diagram of the card of FIG. 2, includingdetails regarding possible logic circuit arrangements according to someembodiments of the present invention;

FIG. 4 is a block diagram showing the multi-protocol card of FIG. 1,wherein the NVM array of the card has been partitioned for use by eachof three external applications, in accordance with some of theembodiments of the present invention;

FIG. 5 is a block diagram showing a card according to any of FIGS. 1through 4, or any other multi-protocol card, communicating with an ISO7816 external application through an interface according to someembodiments of the present invention;

FIG. 6 is a flow chart illustration of a method by which amulti-protocol card may switch from a first protocol mode (e.g. MMCmode) to a second protocol mode (e.g. ISO 7816 mode) in accordance withsome embodiments of the present invention; and

FIG. 7 is a flow chart illustration of a method by which amulti-protocol card may switch from a second protocol mode (e.g. ISO7816 mode) to a first protocol mode (e.g. MMC mode) in accordance withsome embodiments of the present invention.

It will be appreciated that for simplicity and clarity of illustration,elements shown in the figures have not necessarily been drawn to scale.For example, the dimensions of some of the elements may be exaggeratedrelative to other elements for clarity. Further, where consideredappropriate, reference numerals may be repeated among the figures toindicate corresponding or analogous elements.

DETAILED DESCRIPTION OF THE PRESENT INVENTION

In the following detailed description, numerous specific details are setforth in order to provide a thorough understanding of the invention.However, it will be understood by those of ordinary skill in the artthat the present invention may be practiced without these specificdetails. In other instances, well-known methods, procedures, andcomponents have not been described in detail so as not to obscure thepresent invention.

According to some embodiments of the present invention, a multi-protocolnon-volatile memory (“NVM”) card may include a NVM array, at least twoprotocol units, and a controller or control logic adapted to provide anexternal application access to the NVM array using one of the protocolunits. The controller or control logic may select which protocol unit touse based on an indicator of the protocol used by the externalapplication.

As part of the present invention, there may be a method of operating amulti-protocol NVM card. According to some embodiments of the presentinvention, a method of operating a multi-protocol memory card mayinclude switching between a first and a second protocol mode of the cardbased on a signal from an application attempting to access to the NVMcard.

According to a further embodiment of the present invention, there may bean interface and a method of operating the interface, where theinterface is between an external application substantially compliantwith the ISO 7816 standard and a multi-protocol memory card. Theinterface may include a first connector to the external application anda second connector to the multi-protocol memory card. An interfaceaccording to some embodiments of the present invention may also includea signaling structure to indicate to the multi-protocol memory card tooperate in a mode substantially compliant with the ISO 7816 standard.

As part of some embodiments of the present invention, there may be animplementation on a single memory card having a first protocol unit, forexample a MultiMediaCard (“MMC”) protocol unit, and a second protocolunit, According to some embodiments of the present invention, a singleNVM card may enable different applications, where each application usesdifferent protocols, to operate on and access an NVM on the same NVMcard.

Reference is now made to FIG. 1, which is a block diagram illustrationof a multi-protocol memory card 10, operative in accordance with someembodiments of the present invention. Memory card 10 may include atleast two protocol units, a first protocol unit 20 and a second protocolunit 30, as well as a controller 40 or control logic unit 40, and an NVMarray 50 or NVM unit 50.

Either or both of the protocol units 20 and 30, may conform to astandardized protocol known in the art, for example; (1) MMC protocol,(2) ISO 7816—smart card protocol, (3) memory stick protocol, etc. Anyone of the protocols associated with one or more protocol units mayinclude a security or encryption feature. One or more of the protocolunits 20 and 30, may include an integrated NVM array 32. For example,according to the ISO 7816 smart card standard, an ISO 7816 compliantsmartcard may have an integrated controller unit, i.e. protocol unit,and integrated NVM array.

A multi-protocol NVM card according to some embodiments of the presentinvention may include an internal communication bus, which communicationbus may allow the control logic 40 to communicate with either of theprotocol units 20 or 30, and which may allow either of the protocolunits to access the NVM unit 50, either directly or through thecontroller 40. Connector pins 60 may connect the controller 40 andinternal bus to an external application. One or more of the connectorpins, e.g. 65, may be used to indicate to the control logic 40 whichprotocol unit may communicate with an external application attempting toaccess the card.

Controller or control logic 40 may include a protocol selection module42 and a mode initialization module 44. Protocol selection module 42 maydetermine, based on signals from an external application, in whichprotocol mode the card should be operating and may signal internalswitching circuits to activate the appropriate protocol unit. Herein,signals may be software/firmware and/or hardware generated. Modeinitialization module 44 may initialize or condition the logic state ofthe NVM card 10 in order to produce an internal logic statecorresponding to an NVM card of the desired protocol.

The various portions of a multi-mode NVM card according to someembodiments of the present invention may be implemented on separatesubstrates (e.g. semi-conductor chips or cards), may be fabricated onthe same substrates, or may be implemented in any combination. Forexample, according an embodiment of the present invention, the firstprotocol unit 20 and the logic unit 40 may be implemented on the samesubstrate. In a further embodiment of the invention, the second protocolunit 30 and logic unit 40 may be implemented on the same substrate. Inyet a further embodiment of the invention, memory unit 50 and the secondprotocol unit 30 may be implemented on the same substrate. Many othercombinations will be obvious to a person of ordinary skill in the artand are within the scope of the present invention.

The first protocol unit 20 may be implemented in any manner known in theart. For example, in a non-limiting embodiment of the present invention,it may be implemented as an MMC protocol unit, which protocol unit maybe part of an MMC controller commercially available today. Memory unit50 may also be implemented in any manner known in the art. It may beimplemented, in a non-limiting embodiment of the present invention, asan NROM memory array or unit, for example.

Turning now to FIG. 2, there is shown a block diagram illustration ofsome embodiments of the multi-protocol memory card of FIG. 1, where thecard is MMC protocol mode. Multi-protocol memory card 10 may include afirst protocol unit 20 and a second protocol unit 30, which secondprotocol unit may be ISO 7816 complaint. According to some embodimentsof the present invention, first protocol unit 20 may be a MultiMediaCardprotocol unit, a SecureDigital protocol unit, a CompactFlash protocolunit, a Memory Stick protocol unit, and a non-volatile mass memory cardprotocol unit. Hence, the first protocol unit 20 may be any MMCcontroller available on the market today. According to some embodimentsof the present invention, the second protocol unit 30 may be a smartcard controller, for example, an Infineon™ SLE66 smartcard controller(available from Infineon Technologies Flash Ltd., Netanya, Israel) withan integrated NVM array 32. The control logic 40 may either be an ASIC(“application specific integrated circuit”) or a modified portion ofeither an ISO MMC compliant controller.

FIG. 2 shows an ISO 7816 compliant host application 100 (e.g. bankingapplication) communicating with the multi-protocol NVM using a dataline, a clock line, and a reset line. The control logic 40, havingidentified that the application is an ISO 7816 application, may connect,either directly or through an external switch (not shown), the signalsor lines from the ISO 7816 host application to the second protocol unit30. Had the control unit 40 or control logic 40 identified theapplication attempting access to be an MMC application, the controllogic 40 may have connected the relevant lines or signals from theapplication to the MMC protocol unit 20, either directly or through anexternal switch or multiplexer (“MUX”). For example, in an embodiment ofthe present invention, the reserved pin of the ISO 7816 standard may beused.

Turning now to FIG. 3, there is shown a more detailed block diagram ofthe card of FIG. 2, including some details regarding possible logiccircuit arrangements according to some embodiments of the presentinvention. One set of pins 60A may be used to communicate with an ISO7816 application, while a second set of pins 60B may be used tocommunicate with an MMC application. A select pun may receive a signalindicating whether an application attempting MMC application. Pins 60Aand 60B may be two partially overlapping sets of pins.

An ISO controller 40 may be adapted to accept a protocol indicatorsignal from pin 65 and to either connect pin set 60A to the secondprotocol unit 30 (i.e. SmartCard Controller) or to connected pin set 60Bto the first protocol unit 20 (MMC). One or more switches/multiplexers70 may be used to switch internal signal paths in a multi-protocol card10 according to some embodiments of the present invention.

Turning now to FIG. 4, there is shown a block diagram of themulti-protocol 5 card of FIG. 1, wherein the NVM array of the card hasbeen partitioned for use by each of three external applications, inaccordance with some of the embodiments of the present invention. Thecontrol logic 40 according to some embodiments of the present inventionmay produce a file allocation or application allocation table 50A of theNVM array 50. The allocation table 50A may allow several applications toshare space on the NVM array. When a particular application attempts toaccess the card, the control logic 40 may use the allocation table 50Ato determine to which physical portions of the NVM array to grantaccess.

According to the example of FIG. 4, an ISO 7816 compliant application100A may either access an integrated NVM array 32 on a second protocolunit 30, or may access a portion of the NVM array 50B set aside for ISO7816 compliant use, also using the second protocol unit 30. Each of twoMMC applications 100B and 100C may access NVM array portions 50C and 50Dthrough the control logic 40 and first (i.e. MMC) protocol unit 20.

The partitioning of a fixed amount of memory into separate files ormemory segments associated with different applications is well known.Any technique known today or to be devised in the future is applicableto the present invention.

Turning now to FIG. 5, there is shown a block diagram of a cardaccording to any of FIGS. 1 through 4, or any other multi-protocol card,communicating with an ISO 7816 external application 100 through aninterface 200 according to some embodiments of the present invention. Aninterface according to some embodiments of the present invention mayhave a first set of connecting pins 240 to connect to an externalapplication such as an ISO 7816 compliant application, and a second setof pins 220 to connect a multi-protocol card according some embodimentsof the present invention. The first set of pins may be physicallyconfigured to engage with a host application such as an ISO 7816compliant banking or telecommunications application. Since amulti-protocol card 10 according to some embodiments of the presentinvention may have any one of several physical configurations anddimensions, including those of an MMC card, a smart media card, a memorystick, etc., the second set of pins may be configured to engage with thespecific embodiment of the card. The example of an interface shown inFIG. 5 is that of an interface between an ISO 7816 compliant applicationand a multi-protocol card having a configuration and size of an MMCcard.

The interface 200 may include wiring to connect signals from the firstset of connecting pins 240 to the second set of connecting pins 220. Thewiring may be adapted to map the signals sent by the application 100 tothe appropriate corresponding pins on the card 10. A signaling structure260 may produce a signal, which may indicate to the multi-protocol card10 to switch to a mode or protocol corresponding to the protocolassociated with the host application 100. In some embodiments of thepresent invention, the signaling structure is a signal source, while inother embodiments of the present invention, the signaling structure maybe little more than a conductor or jumper which may connect two or morepins on the card 10.

Reference is now made to FIG. 6, which is a flow chart illustration of amethod that may be performed to switch a multi-protocol card accordingto some embodiments of the present invention from a first protocol mode,for example an MMC mode, to a second protocol mode, for example an ISO7816 compliant mode. The method may be performed by a controller orcontrol logic 40 operative in accordance with an embodiment of thepresent invention.

The description hereinbelow will use an exemplary non-limitingimplementation with reference to the multi-protocol card 10 of FIGS. 1and 2. Memory card 10 may start in an MMC compliant mode (phase 1000).The card's control logic or controller 40 may be using an MMC protocolunit to communicate with an MMC application, or may simply keep the MMCprotocol unit online while in idle mode. Phase 1200 may be prompted uponreceiving an indication or signal from an external application requiringthe card 10 to be in ISO 7816 mode. According to Phase 1200, an internalswitching command to switch to ISO 7816 mode may be sent. Before theswitching occurs, a check may be done to determine whether the card'scurrent MMC mode details (e.g. configuration, files, etc.) should besaved (phase 1300). If so, at phase 1400 the current MMC compliantdetails may be saved to a NVM array within the card. Part of the NVMarray may contain a memory segment for storing file allocation and cardconfiguration data. If details do not need to be saved, phase 1400 maybe skipped.

Following phases 1300 and 1400, as part of phase 1500, in setting up thesecond protocol mode, it may be determined whether an ISO 7816 compliantmode reset sequence is required. If a reset sequence is not required, anISO 7816 compliant mode may be established (phase 1600), and at phase1700 an ISO 7816 compliant mode may be initialized.

If a reset sequence is required, restoration of a previously saved ISO7816 compliant mode may be performed as part of phase 1800. The mode maybe restored based on data stored in an NVM array.

At phase 1900, which may follow either phase 1700 or phase 1800, an ISO7816 mode may be operational.

Reference is now made to FIG. 7, which is a flow chart illustration of amethod that may be performed in accordance with some embodiments of thepresent invention to switch a multi-protocol NVM card according to anembodiment of the present invention from an ISO 7816 compliant protocolmode to an MMC protocol compliant mode. A memory card 10 according toany one of FIGS. 1 through 5 may start in an ISO 7816 compliant mode(phase 2000). A check may be performed so as to determine whether aswitch to an MMC protocol compliant mode may be executed (phase 2100).Mode switching from ISO 7816 mode to MMC protocol mode may be executedin many ways, including but not limited to by a command that may beexecuted from host 100 to memory card 10, by sending signals through ISO7816 connector pin 65, or by other signal lines. Under some conditions,a switch from ISO 7816 mode to MMC mode may not be executed (phase 2200)and, therefore, memory card 10 may remain in ISO 7816 compliant mode. Itmay, however, be operated in MMC mode in other circumstances, including,but not limited to, after power up of memory card 10. A switchingcommand to MMC mode may be sent (phase 2300). A check may then be madeas to whether the current ISO 7816 compliant mode should be saved (phase2400). If so, at phase 2500, the current ISO 7816 compliant mode may besaved.

A check, which may follow phase 2400 or phase 2500, is made as towhether in setting up the second protocol mode, an MMC modeinitialization sequence is required (phase 2600). If an initializationsequence is required, an initialization of MMC mode may be executed(phase 2700). When an initialization sequence is not required, apreviously saved MMC mode may be restored (phase 2800). A saved MMC modemay be restored if, during a previous session, an MMC mode was saved,e.g. phase 1400, FIG. 6. At phase 2900, a card's MMC mode may beoperational.

While certain features of the invention have been illustrated anddescribed herein, many modifications, substitutions, changes, andequivalents will now occur to those of ordinary skill in the art. It is,therefore, to be understood that the appended claims are intended tocover all such modifications and changes as fall within the true spiritof the invention.

1. A multi protocol non-volatile memory (“NVM”) card comprising: an NVMunit; at least two protocol units, wherein at least one of said protocolunits having access to said NVM unit; and a logic unit to select one ofsaid at least two protocol units.
 2. The memory card according to claim1, wherein said at least two protocol units comprise: a first protocolunit; and a second protocol unit, wherein said second protocol unitsubstantially conforms to the ISO 7816 standard.
 3. The memory cardaccording to claim 2, wherein said second protocol unit comprises anintegrated non-volatile memory array.
 4. The memory card according toclaim 2, wherein said first protocol unit is selected from the groupconsisting of a MultiMediaCard protocol unit, a SecureDigital protocolunit, a CompactFlash protocol unit, a Memory Stick protocol unit, and anon-volatile mass memory card protocol unit.
 5. The memory cardaccording to claim 1, wherein said NVM unit, said at least two protocolunits, and said logic unit are on a single substrate.
 6. The memory cardaccording to claim 1, wherein said first and second protocol units areon separate substrates.
 7. The memory card according to claim 1, whereinsaid logic unit selects a protocol unit based on an external signalindicating a protocol used by a host application.
 8. The memory cardaccording to claim 7, wherein said second protocol unit is selected ifthe host application substantially conforms to the ISO 7816 standard. 9.The memory card according to claim 8, wherein said second protocol unitgrants the host application access to said integrated non-volatilememory array.
 10. The memory card according to claim 7, wherein saidfirst protocol unit is selected if the host application does notsubstantially conform to the ISO 7816 standard, and said first protocolunit grants the host application access to the NVM unit.
 11. A method ofoperating a multi protocol NVM card, the method comprising: switching abetween a first and a second protocol mode based on a signal from anapplication seeking access to the NVM card.
 12. The method according toclaim 11, wherein said switching from the first to the second protocolmodes comprises: commanding the NVM memory card to switch to the secondprotocol mode; and setting up the second protocol mode.
 13. The methodaccording to claim 12, wherein said commanding comprises activating aphysical switch.
 14. The method according to claim 12, wherein saidcommanding comprises sending a firmware command.
 15. The methodaccording to claim 12, wherein said commanding comprises activating asecond protocol unit.
 16. The method according to claim 12, wherein saidsetting up comprises performing an initialization sequence.
 17. Themethod according to claim 12, wherein said setting up comprisesrestoring a previous card state.
 18. The method according to claim 12further comprising saving the current card state.
 19. The methodaccording to claim 11, wherein switching from the second protocol modeto the first protocol mode comprises: commanding the NVM memory cardcommand to switch to the first protocol mode; and setting up the firstprotocol mode.
 20. The method according to claim 19, wherein saidcommanding comprises activating a physical switch.
 21. The methodaccording to claim 19, wherein said commanding comprises sending afirmware command.
 22. The method according to claim 11, wherein saidsecond protocol mode substantially conforms to the ISO 7816 standard andbefore the NVM card switches from the second protocol mode to the firstprotocol mode, a determination is made whether such a switch ispossible.
 23. An interface between an application substantiallycompliant with the ISO 7816 standard and a multi protocol memory card,said interface comprising: a first connector to said application and asecond connector to said multi-protocol memory card; and a signalingstructure to indicate to said multi protocol memory card to operate in amode substantially compliant with the ISO 7816 standard.
 24. Theinterface according to claim 23, wherein said second connector isselected from the group consisting of a MultiMediaCard connector, aSecureDigital card connector, a CompactFlash card connector, a MemoryStick connector, and a non-volatile mass memory card connector.
 25. Theinterface according to claim 23, wherein said signaling structure is aconducting jumper connected to two or more pins on said secondconnector.
 26. The interface according to claim 23, wherein saidsignaling structure is a signal source.